<?php if ($this->pageCount): ?>
<div class="paginationControl">
<?php if (isset($this->first)): ?>
  <a href="<?php echo $this->url(array('page' => $this->first,'search'=>$this->search)); ?>">
    &lt; First
  </a> |
<?php endif; ?>
<!-- Previous page link -->
<?php if (isset($this->previous)): ?>
  <a href="<?php echo $this->url(array('page' => $this->previous,'search'=>$this->search)); ?>">
    Previous
  </a> |
<?php else: ?>
  <span class="disabled"> Previous</span> |
<?php endif; ?>
 
<!-- Numbered page links -->
<?php foreach ($this->pagesInRange as $page): ?>
  <?php if ($page != $this->current): ?>
    <a href="<?php echo $this->url(array('page' => $page,'search'=>$this->search)); ?>">
        <?php echo $page; ?>
    </a> |
  <?php else: ?>
    <?php echo $page; ?> |
  <?php endif; ?>
<?php endforeach; ?>
 
<!-- Next page link -->
<?php if (isset($this->next)): ?>
  <a href="<?php echo $this->url(array('page' => $this->next,'search'=>$this->search)); ?>">
    Next |
  </a>
<?php else: ?>
  <span class="disabled">Next |</span>
<?php endif; ?>
<!--Last link -->
<?php if (isset($this->last)): ?>
  <a href="<?php echo $this->url(array('page' => $this->last,'search'=>$this->search)); ?>">
    Last &gt;
  </a>
<?php endif; ?>
</div>
<?php endif; 



?>